package com.akaovi.exp.exp11.domain;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/11/29 15:52
 * @since 2022/11/29 15:52
 */
public class InfoResp {
    /**
     * 学生编号
     */
    private int sid;
    /**
     * 姓名
     */
    private String sname;
    /**
     * 课程名
     */
    private String cname;
    /**
     * 成绩
     */
    private double score;

    public InfoResp() {
    }

    public InfoResp(int sid, String sname, String cname, double score) {
        this.sid = sid;
        this.sname = sname;
        this.cname = cname;
        this.score = score;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "InfoResp{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", cname='" + cname + '\'' +
                ", score=" + score +
                '}';
    }
}
